package org.celery.modules.user.service;

import org.celery.modules.user.entity.UserDomain;
import org.celery.modules.user.vo.UserDomainVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.system.entity.User;

/**
 * 用户与域名关联表 服务类
 *
 * @author Celery
 * @since 2022-04-06
 */
public interface IUserDomainService extends IService<UserDomain> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param userDomain
	 * @return
	 */
	IPage<UserDomainVO> selectUserDomainPage(IPage<UserDomainVO> page, UserDomainVO userDomain);

	User selectUserByDomain(String domain);

}
